package com.lxf.clouduser.service;

import com.lxf.clouduser.bean.ReqModel;
import com.lxf.clouduser.bean.RespModel;

/**
 * @author 罗兴发
 * @data 2025/6/13 10:30
 * @description：聊天-业务层
 */
public interface ChatService {
    //新增用户
    void addUser(ReqModel reqModel, RespModel respModel);

    //用户下线
    void delUser(ReqModel reqModel, RespModel respModel);

    //新增群组
    void addGroup(ReqModel reqModel, RespModel respModel);

    //删除群组
    void delGroup(ReqModel reqModel, RespModel respModel);

    //加入群组
    void joinGroup(ReqModel reqModel, RespModel respModel);

    //退出群组
    void leaveGroup(ReqModel reqModel, RespModel respModel);

    //发送群组消息
    void sendGroupMsg(ReqModel reqModel, RespModel respModel);

    //私聊
    void sendPrivateMsg(ReqModel reqModel, RespModel respModel);

    //语音聊天
    void audioMsg(ReqModel reqModel, RespModel respModel);

}
